package demo02;

public class Translator extends Player {
    Center center;

    public Translator(String s) {
        center = new Center(s);
    }

    @Override
    public void Attack() {
        center.jinggong();
    }

    @Override
    public void Defense() {
        center.fangshou();
    }
}
